#include<stdio.h>
int main()
{
	double r,h;
	scanf("%lf %lf",&r,&h);
	printf("C1=%.2f\n",3.14*r*2);
	printf("Sa=%.2f\n",3.14*r*r);
	printf("Sb=%.2f\n",3.14*r*4*r);
	printf("Va=%.2f\n",3.14*r*r*r*4.0/3.0);
	printf("Vb=%.2f\n",3.14*r*r*h);
	return 0;
}
